﻿using System;

namespace CoreRay.Testing.MockClasses
{
    //-----------------------------------------------------------------------------------------
    /// <summary>
    /// Mock class for abstract class <see cref="Filter"/>.
    /// </summary>
    //-----------------------------------------------------------------------------------------

    public class MockFilter : Filter
    {
        //-----------------------------------------------------------------------------------------
        /// <summary>
        /// Initializes a new instance of the <see cref="MockFilter"/> class.
        /// </summary>
        /// <param name="width">Width of the filter.</param>
        /// <param name="height">Height of the filter.</param>
        //-----------------------------------------------------------------------------------------

        public MockFilter(float width, float height) : base(width, height)
        {

        }


        //-----------------------------------------------------------------------------------------
        /// <summary>
        /// Evaluates the value of the filter at the specified (x, y) point.
        /// </summary>
        /// <param name="x">The x coordinate.</param>
        /// <param name="y">The y coordinate.</param>
        /// <returns>
        /// value of the filter at the specified (x, y) point.
        /// </returns>
        //-----------------------------------------------------------------------------------------

        public override float Evaluate(float x, float y)
        {
            return 0.0f;
        }
    }
}
